package com.esteel.settlement.pa.packet;

import java.util.Date;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;
/**
 * 查银行端会员资金台帐余额model
 * zhouwentong
 */
@XmlRootElement(name="Array")
@XmlAccessorType(XmlAccessType.FIELD)
public class Query1325Array extends ResultArray{

	private static final long serialVersionUID = -9096724726900623264L;
	 //交易网流水号
	 @XmlElement(name="ThirdLogNo")
	 @Length(max=20)
	 @NotEmpty
	 private String thirdLogNo;
	 //银行前置流水号
	 @XmlElement(name="FrontLogNo")
	 @Length(max=14)
	 @NotEmpty
	 private String frontLogNo;
	 //记账标志 1：入金  2：出金
	 @XmlElement(name="TranFlag")
	 private int tranFlag;
	 //交易状态  0 成功 1 失败（交易网流水号不为空时才返回）
	 @XmlElement(name="TranStatus")
	 private int tranStatus;
	 //交易金额
	 @XmlElement(name="TranAmount")
	 private double tranAmount;
	 //上级监管账号
	 @XmlElement(name="CustAcctId")
	 @Length(max=32)
	 @NotEmpty
	 private String custAcctId;
	 //交易网会员代码
	 @XmlElement(name="ThirdCustId")
	 @Length(max=32)
	 @NotEmpty
	 private String thirdCustId;
	 //交易日期
	 @XmlElement(name="TranDate")
	 private Date tranDate;	 
	 //会计日期
	 @XmlElement(name="AcctDate")
	 private Date acctDate;
	public String getThirdLogNo() {
		return thirdLogNo;
	}
	public String getFrontLogNo() {
		return frontLogNo;
	}
	public int getTranFlag() {
		return tranFlag;
	}
	public int getTranStatus() {
		return tranStatus;
	}
	public double getTranAmount() {
		return tranAmount;
	}
	public String getCustAcctId() {
		return custAcctId;
	}
	public String getThirdCustId() {
		return thirdCustId;
	}
	public Date getTranDate() {
		return tranDate;
	}
	public Date getAcctDate() {
		return acctDate;
	}
	public void setThirdLogNo(String thirdLogNo) {
		this.thirdLogNo = thirdLogNo;
	}
	public void setFrontLogNo(String frontLogNo) {
		this.frontLogNo = frontLogNo;
	}
	public void setTranFlag(int tranFlag) {
		this.tranFlag = tranFlag;
	}
	public void setTranStatus(int tranStatus) {
		this.tranStatus = tranStatus;
	}
	public void setTranAmount(double tranAmount) {
		this.tranAmount = tranAmount;
	}
	public void setCustAcctId(String custAcctId) {
		this.custAcctId = custAcctId;
	}
	public void setThirdCustId(String thirdCustId) {
		this.thirdCustId = thirdCustId;
	}
	public void setTranDate(Date tranDate) {
		this.tranDate = tranDate;
	}
	public void setAcctDate(Date acctDate) {
		this.acctDate = acctDate;
	}


	@Override
	protected String[] order() {
		String[] args = { "thirdLogNo","frontLogNo","tranFlag","tranStatus","tranAmount","custAcctId","thirdCustId","tranDate","acctDate"};
		return args;
	}
	
}
